<template>

<el-header>
        <div class="left">
          <img src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" alt="">
          <h2>猩猩点灯</h2>
        </div>
        <div class="right">
          <el-badge :value="12" class="item">
            <i class="el-icon-user-solid"></i>
            <!-- <el-button size="small">消息</el-button> -->
          </el-badge>

          <el-avatar
            src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
          ></el-avatar></div
      ></el-header>

</template>
<style>
.left{
  display: flex;
  align-items: center;
}
.left img{
  width: 30px;
  height: 30px;
  margin-right: 10px;
}
</style>
